package com.ling.pl.autoproject.definition.entity.model;

import com.ling.pl.core.commons.annotation.ModelProperty;

import javax.persistence.Column;

public class EntityTemplate {
    @Column(name = "NAME", length = 150)
    @ModelProperty(comment = "模板类型名称")
    String name;

    @Column(name = "IS_DEFAULT")
    @ModelProperty(comment = "实体名称最大长度")
    Integer maxColumnNameLength;

    @Column(name = "IS_DEFAULT")
    @ModelProperty(comment = "属性名称最大长度")
    Integer maxPropertyNameLength;

    @Column(name = "IS_DEFAULT")
    @ModelProperty(comment = "附加表前缀")
    Boolean isTablePre;

    @Column(name = "IS_DEFAULT")
    @ModelProperty(comment = "附加视图前缀")
    Boolean isViewPre;

    @Column(name = "IS_DEFAULT")
    @ModelProperty(comment = "表前缀")
    String tablePre;

    @Column(name = "IS_DEFAULT")
    @ModelProperty(comment = "视图前缀")
    String viewPre;
}
